//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "tyr_menu\fn_saveOptions.sqf"
#include <core_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

disableSerialization;

private ["_var"];
_var = lbData [1351, lbCurSel 1351];
TRACE_1(QGVAR(ACTION_BUTTON_TOGGLES),_var);
profileNameSpace setVariable [QGVAR(ACTION_BUTTON_TOGGLES),parseNumber _var];
GVAR(CONFIG_ACTION_BUTTON_TOGGLES) = parseNumber _var;

_var = lbData [1352, lbCurSel 1352];
TRACE_1(QGVAR(SHOW_SELECTED_OPTION),_var);
profileNameSpace setVariable [QGVAR(SHOW_SELECTED_OPTION),parseNumber _var];
GVAR(CONFIG_SHOW_SELECTED_OPTION) = parseNumber _var;

_var = lbData [1353, lbCurSel 1353];
TRACE_1(QGVAR(ICON_AND_TEXT),_var);
profileNameSpace setVariable [QGVAR(ICON_AND_TEXT),parseNumber _var];
GVAR(CONFIG_ICON_AND_TEXT) = parseNumber _var;

TRACE("End");
TMFPROFILERSTOP;
